package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-车辆资产-车辆信息表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_bike_info")
@ApiModel(value = "ErpBikeInfo对象", description = "ERP系统-车辆资产-车辆信息表")
public class ErpBikeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营区ID")
    private Integer operateId;

    @ApiModelProperty("客户ID")
    private Integer companyId;

    @ApiModelProperty("所在仓库ID（未投放、维修中）")
    private Integer warehouseId;

    @ApiModelProperty("生产厂商")
    private String producer;

    @ApiModelProperty("车型")
    private String model;

    @ApiModelProperty("合格证日期")
    private Date passDate;

    @ApiModelProperty("出厂日期")
    private Date productDate;

    @ApiModelProperty("车架号")
    private String vin;

    @ApiModelProperty("车辆编号")
    private String bikeNo;

    @ApiModelProperty("二维码")
    private String qrCode;

    @ApiModelProperty("中控厂家")
    private String controlProducer;

    @ApiModelProperty("中控编号")
    private String controlNum;

    @ApiModelProperty("电机编号")
    private String eleNum;

    @ApiModelProperty("交付时间")
    private Date deliveryTime;

    @ApiModelProperty("接收人ID")
    private Integer deliveryUser;

    @ApiModelProperty("接收人姓名")
    private String deliveryName;

    @ApiModelProperty("保单ID")
    private Integer policyId;

    @ApiModelProperty("车牌号")
    private String carCode;

    @ApiModelProperty("上牌时间")
    private Date licenseTime;

    @ApiModelProperty("绑定电池编码")
    private String batteryNo;

    @ApiModelProperty("绑定电池Rfid编码")
    private String batteryRfidNo;

    @ApiModelProperty("绑定电池ID")
    private Integer batteryId;

    @ApiModelProperty("绑定电池时间")
    private Date bindTime;

    @ApiModelProperty("电池绑定人ID")
    private Integer bindUserId;

    @ApiModelProperty("电池绑定人姓名")
    private String bindUserName;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("维度")
    private BigDecimal lat;

    @ApiModelProperty("状态1-待投放 2-运营中 3-维修中 4-已停用 5-待交付 6-已交付 7-调拨中")
    private Integer status;

    @ApiModelProperty("停用原因 1-丢失 2-报废 3-买断 4-其它")
    private Integer stopReason;

    @ApiModelProperty("停用备注")
    private String stopRemark;

    @ApiModelProperty("停用用户ID")
    private Integer stopUserId;

    @ApiModelProperty("停用用户姓名")
    private String stopUserName;

    @ApiModelProperty("停用时间")
    private Date stopTime;

    @ApiModelProperty("投车时间")
    private Date putinTime;

    @ApiModelProperty("投放人ID")
    private Integer putinUser;

    @ApiModelProperty("投放人")
    private String putinName;

    @ApiModelProperty("上次维修入库时间")
    private Date repairInTime;

    @ApiModelProperty("上次维修出库时间")
    private Date repairOutTime;

    @ApiModelProperty("维修次数")
    private Integer repairTimes;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
